import layout from '@/layout'
export default {
  path: '/order',
  name: 'order',
  component: layout,
  children: [{
    path: '',
    name: 'order',
    component: () => import('@/views/order'),
    meta: {
      title: '订单',
      icon: 'tree-table'
    }
  }, {
    path: '/order/detail/:id?', // 订单详情的信息
    component: () => import('@/views/order/components/orderDetail.vue'),
    hidden: true, // 表示隐藏在左侧菜单
    meta: {
      title: '订单详情' // 显示在导航的文本
    }
  }
  ]
}
